package com.hqyj.hrms.modules.account.service;

import com.hqyj.hrms.modules.account.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface UserRedisService {
    //查询缓存
    HashMap<String, Object> selectRedis(User user);

    //新增
    HashMap<String, Object> add(User user);

    //redis版本的发送验证码
    HashMap<String, Object> emailRedis(String email);

    //redis版本的邮件登录
    HashMap<String, Object> LoginEmailRedis(String code, String email);
}
